

from word_play_functions import *

fin = open('D:\SVN_dir\words.txt')
count = 0
count_no_e = 0
for line in fin:
    word = line.strip()
    if has_no_e(word):
       # print(word)
        count_no_e = count_no_e + 1
    count = count + 1

percent = float(count_no_e)/count

print 'percent = ',percent*100
